﻿<script src="../O.cn_My/js/prototype.js" type="text/javascript"></script>
<input type="text" id="myText"  value="input text">
<script>
   function Obj(){
       this.value="对象！";
   }
   var value="global 变量";
   function Fun1(){
       alert(this.value);
   }
   window.Fun1();
   Fun1.apply(window);
   Fun1.apply($('myText'));
   Fun1.apply(new Obj());
</script>